package com.ay.service;


import com.ay.entity.Tupian;
import com.ay.mapper.TupianMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class TupianService implements TupianMapper {
   @Autowired
   TupianMapper tupianMapper;

   public int insert(Tupian tupian){
       return tupianMapper.insert(tupian);
   }

    @Override
    public Tupian select() {
        return tupianMapper.select();
    }

    @Override
    public int insertSelective(Tupian record) {
        return 0;
    }


    @Override
    public List<Tupian> selectall() {
        return tupianMapper.selectall();
    }
}
